/**
 * 选择题字段
 * */
export const multiple_choice_question = [
    {
        type: 'radio',
        icon: 'icon-a-danxuanxuanze',
        formItemFlag: true,
        displayName: '单选',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',//唯一值
            value: '',//寸的选择的值
            label: 'radio',
            required: true,//必填
            hidden: false,//隐藏
            readOnly: false,//只读
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            showContent:'文本',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            sourceBol: false,//可算分值
            sourceSelect: '',//分值算法
            sourceTotal: 0,//总分
            sourceMin: 0,//最低分
            sourceSuperTotal: false,//得分可超过总分
            sourceLowTotal: false,//得分可低于最低得分
            radioConfig: [],//里面是每一项
            // minSelect:'',//最少选择
            // maxSelect:'',//最多选择
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: '',
        },
        id: '',
    },
    {
        type: 'checkbox',
        icon: 'icon-duoxuanxuanzhong',
        formItemFlag: true,
        displayName: '多选',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'checkbox',
            value: [],//寸的选择的值
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            showContent:'文本',
            questionStem: false,//题干说明
            sourceBol: false,//可算分值
            sourceSelect: '',//分值算法
            sourceTotal: '',//总分
            sourceMin: '',//最低分
            sourceSuperTotal: false,//得分可超过总分
            sourceLowTotal: false,//得分可低于最低得分
            hasMutlip: false,//允许多选
            minSelect: '',//最少选择
            maxSelect: '',//最多选择
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '一直显示',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: '',
            radioConfig: [],//里面是每一项
        },
        id: '',
    },
    {
        type: 'select',
        icon: 'icon-xiala',
        formItemFlag: true,
        displayName: '下拉',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'select',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: false,//题干说明
            sourceBol: false,//可算分值
            sourceSelect: '',//分值算法
            sourceTotal: '',//总分
            sourceMin: '',//最低分
            hasMutlip: false,//允许多选
            sourceSuperTotal: false,//得分可超过总分
            sourceLowTotal: false,//得分可低于最低得分
            minSelect: '',//最少选择
            maxSelect: '',//最多选择
            radioConfig: [],
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: ''
        },
        id: '',
    },
    {
        type: 'juSelect',
        icon: 'icon-juzhenxuanze',
        formItemFlag: true,
        displayName: '矩阵下拉',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'juSelect',
            required: true,
            hidden: false,
            readOnly: false,
            // totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            tableData:[
                {
                    start:'问题1',
                    start1:'',
                    start2:'',
                },
                {
                    start:'问题2',
                    start1:'',
                    start2:'',
                }
            ],
            inputTableConfig: [
                {
                    label: '',
                    prop: 'start',
                    width:'auto'

                },
                {
                    label: '选项1',
                    prop: 'start1',
                    width:'auto'
                },
                {
                    label: '选项2',
                    prop: 'start2',
                    width:'auto'
                }
            ],
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: ''
        },
        id: '',
    },
]
/**
 * 填空题字段
 * */
export const gap_filling_question = [
    {
        type: 'input',
        icon: 'icon-tiankongti',
        formItemFlag: true,
        displayName: '填空',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'input',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            placeholderContent: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: ''
        },
        id: '',
    },
    {
        type: 'multInput',
        icon: 'icon-duoxiangtiankong',
        formItemFlag: true,
        displayName: '多项填空',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'multInput',
            // value:'',
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            inputConfig: [],
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            // hasUpload:true,
            // uploadConfig:{}
            onChangeValue: ''
        },
        id: '',
    },
    {
        type: 'jumultInput',
        icon: 'icon-juzhentiankong',
        formItemFlag: true,
        displayName: '矩阵填空',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'jumultInput',
            required: true,
            hidden: false,
            readOnly: false,
            // totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            tableData:[
                {
                    start:'问题1',
                    start1:'',
                    start2:'',
                },
                {
                    start:'问题2',
                    start1:'',
                    start2:'',
                }
            ],
            inputTableConfig: [
                {
                    label: '',
                    prop: 'start',
                    width:'auto'

                },
                {
                    label: '填空1',
                    prop: 'start1',
                    width:'auto'
                },
                {
                    label: '填空2',
                    prop: 'start2',
                    width:'auto'
                }
            ],
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: ''
        },
        id: '',
    },
]

export const score_question = [
    {
        type: 'scaleSelect',
        icon: 'icon-liangbiao',
        formItemFlag: true,
        displayName: '量表',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'scaleSelect',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            extremeTag: '',
            extremeTag1: '自定义内容',
            extremeTag2: '自定义内容',
            liangSetting: 5,
            // startNum:1,
            showStyle: '五角星',//显示样式

        },
        id: '',
    },
    {
        type: 'markScore',
        icon: 'icon-dafen1',
        formItemFlag: true,
        displayName: '打分',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'markScore',
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            liangSetting: 5,
            showStyle: '五角星',//显示样式
            scoreConfig: [],
        },
        id: '',
    },
    {
        type: 'NPS',
        icon: 'icon-NPS',
        formItemFlag: true,
        displayName: 'NPS',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'NPS',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            totalSource: 0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            questionStem: true,//题干说明
            questionStemContent: '10分表示极有可能，0分表示不可能，分值越低表示可能性越低',
            contentMaxLength: true,//内容较长时折叠展示
        },
        id: '',
    },
]

// 通用题型

export const tongyong_ti = [
    {
        type: 'date',
        icon: 'icon-riqi',
        formItemFlag: true,
        displayName: '日期',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'date',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            // totalSource:0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            placeholderContent: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            valueFormt: 'yyyy-MM-dd HH:mm:ss',
            hasUpload: true,
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
            onChangeValue: ''
        },
        id: '',
    },
    {
        type: 'time',
        icon: 'icon-shijian_o',
        formItemFlag: true,
        displayName: '时间',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'time',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            onChangeValue: ''
        },
        id: '',
    },
    {
        type: 'qianming',
        icon: 'icon-tianbiaoxiang_qianmingti',
        formItemFlag: true,
        displayName: '签名题',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'qianming',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
        },
        id: '',
    },
    {
        type: 'diliweizhi',
        icon: 'icon-diliweizhi',
        formItemFlag: true,
        displayName: '地理位置',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'diliweizhi',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            editPosition: false,
            isGetMap:false,
            jingdu:123,
            weidu:456
        },
        id: '',
    },
    {
        type: 'chengshi',
        icon: 'icon-chengshidizhi',
        formItemFlag: true,
        displayName: '城市',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'chengshi',
            value: '',
            required: true,
            hidden: false,
            readOnly: false,
            // totalSource:0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            placeholderContent: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            onChangeValue: '',
            address: '',
            hasUpload: true,
            isRemark: true,
            remarkConfig: {
                value: "",
                remkBorSet: '默认不显示',
                remkCheckSet: [],
                isRequired: '',
                isRequiredScreen: [],
                remHeight: '1行'
            },
            uploadConfig: {
                value: [],
                hasUploadBtn: '',
                hasUploadBtnSet: [],
                isRequiredUpload: '',
                numInput: '1',
                isRequiredUploadSet: [],
                isMaxFileSize: '30',
                fileGeshi: '',
                fileGeshiSet: ['图片'],
                disShebei: '',
                shoujiUploadSet: ['可相机拍照'],
            },
        },
        id: '',
    },
    {
        type: 'luyin',
        icon: 'icon-luyin',
        formItemFlag: true,
        displayName: '录音',
        isExpand: false,
        isHover: false,
        isClick: false,
        options: {
            name: '',
            label: 'luyin',
            value: {
                name:'',
                url:'',
            },
            required: true,
            hidden: false,
            readOnly: false,
            // totalSource:0,
            lastWenjuanItem: '',
            lastWenjuanItemName: '',
            placeholderContent: '',
            questionStem: false,//题干说明
            contentMaxLength: true,//内容较长时折叠展示
            markers:[],
        },
        id: '',
    },
]


export const duanluoObj = [
    {
        type:'textdesp',
        icon:'icon-wenzimiaoshu',
        formItemFlag: true,
        displayName:'文字描述',
        isExpand:false,
        isHover:false,
        isClick:false,
        options:{
            name:'',
            label:'textdesp',
            value:'',
            hidden:false,
            lastWenjuanItem:'',
            lastWenjuanItemName:'',
            placeholderContent:'',
            questionStem:false,//题干说明
            contentMaxLength:true,//内容较长时折叠展示
        },
        id:'',
    },
]

//过滤右边基本属性不想展示的字段
export const fileterPadil = ['value','label','remarkConfig','uploadConfig','hasUpload','isRemark',
'minSelect','maxSelect','hasMutlip','extremeTag','liangSetting','startNum','showStyle',
'extremeTag1','extremeTag2','scoreConfig','questionStemInput','onChangeValue','placeholderContent',
'lastWenjuanItem','inputTableConfig','tableData','markers','address','jingdu','weidu','isGetMap','radioConfig',
'inputConfig',]
